package com.itheima.api.hashset.demo05;

import java.util.HashSet;

public class HashDemo05 {

    public static void main(String[] args) {

        HashSet<Integer> hashSet = new HashSet<>();

        for (int i = 0; i < 12; i++) {

            hashSet.add(i);
        }

        hashSet.add(13);

        hashSet.forEach( s -> System.out.println(s));
    }
}
